<!DOCTYPE html>
<html>
  <head>
    <title>index</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <link href="resources/css/jquery-ui-themes.css" type="text/css" rel="stylesheet"/>
    <link href="resources/css/axure_rp_page.css" type="text/css" rel="stylesheet"/>
    <link href="data/styles.css" type="text/css" rel="stylesheet"/>
    <link href="files/index/styles.css" type="text/css" rel="stylesheet"/>
    <script src="resources/scripts/jquery-1.7.1.min.js"></script>
    <script src="resources/scripts/jquery-ui-1.8.10.custom.min.js"></script>
    <script src="resources/scripts/prototypePre.js"></script>
    <script src="data/document.js"></script>
    <script src="resources/scripts/prototypePost.js"></script>
    <script src="files/index/data.js"></script>
    <script type="text/javascript">
      $axure.utils.getTransparentGifPath = function() { return 'resources/images/transparent.gif'; };
      $axure.utils.getOtherPath = function() { return 'resources/Other.html'; };
      $axure.utils.getReloadPath = function() { return 'resources/reload.html'; };
    </script>
  </head>
  <body>
    <div id="base" class="">

<?php
$id = $_POST["id"];
require("../../../../conn/conn.php");
//只显示未被接取的任务
$sql = "select * from work_info where work_id = '$id'";
$result = mysqli_query($conn,$sql);
              	
$work_info = array();
while($row = mysqli_fetch_assoc($result)){
	$work_info[] = $row;
	}
foreach($work_info as $row){?>
	
      <!-- 标题 (组 合) -->
      <div id="u0" class="ax_default" data-label="标题" data-left="0" data-top="0" data-width="980" data-height="397">

        <!-- Unnamed (矩形) -->
        <div id="u1" class="ax_default box_2">
          <div id="u1_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2" class="ax_default _一级标题">
          <div id="u2_div" class=""></div>
          <div id="u2_text" class="text ">
            <p><span style="font-family:'PingFangSC-Semibold', 'PingFang SC Semibold', 'PingFang SC';font-weight:650;">家教任务</span><span style="font-family:'Arial-BoldMT', 'Arial Bold', 'Arial';font-weight:700;">id</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u3" class="ax_default _一级标题">
          <div id="u3_div" class=""></div>
          <div id="u3_text" class="text ">
            <p><span><?=$row["work_name"]?></span></p>
          </div>
        </div>
      </div>

      <!-- Unnamed (形状) -->
	  <a href="../../../stu_page/html/所有家教.php">
      <div id="u4" class="ax_default icon">
        <img id="u4_img" class="img " src="images/index/u4.png"/>
      </div>
	  </a>

      <!-- 任务信息 (组 合) -->
      <div id="u5" class="ax_default" data-label="任务信息" data-left="0" data-top="397" data-width="980" data-height="921">

        <!-- Unnamed (矩形) -->
        <div id="u6" class="ax_default box_3">
          <div id="u6_div" class=""></div>
        </div>

        <!-- 发布用户 (组 合) -->
        <div id="u7" class="ax_default" data-label="发布用户" data-left="70" data-top="503" data-width="508" data-height="50">

          <!-- Unnamed (矩形) -->
          <div id="u8" class="ax_default label">
            <div id="u8_div" class=""></div>
            <div id="u8_text" class="text ">
              <p><span>【发布用户】</span></p>
            </div>
          </div>

          <!-- Unnamed (矩形) -->
          <div id="u9" class="ax_default label">
            <div id="u9_div" class=""></div>
            <div id="u9_text" class="text ">
              <p><span><?=$row["par_id"]?></span></p>
            </div>
          </div>
        </div>

        <!-- 孩子姓名 (组 合) -->
        <div id="u10" class="ax_default" data-label="孩子姓名" data-left="70" data-top="553" data-width="580" data-height="50">

          <!-- Unnamed (矩形) -->
          <div id="u11" class="ax_default label">
            <div id="u11_div" class=""></div>
            <div id="u11_text" class="text ">
              <p><span>【孩子姓名】</span></p>
            </div>
          </div>

          <!-- Unnamed (矩形) -->
          <div id="u12" class="ax_default label">
            <div id="u12_div" class=""></div>
            <div id="u12_text" class="text ">
              <p><span>发布用户孩子姓名</span></p>
            </div>
          </div>
        </div>

        <!-- 孩子性别 (组 合) -->
        <div id="u13" class="ax_default" data-label="孩子性别" data-left="70" data-top="613" data-width="580" data-height="50">

          <!-- Unnamed (矩形) -->
          <div id="u14" class="ax_default label">
            <div id="u14_div" class=""></div>
            <div id="u14_text" class="text ">
              <p><span>【孩子性别】</span></p>
            </div>
          </div>

          <!-- Unnamed (矩形) -->
          <div id="u15" class="ax_default label">
            <div id="u15_div" class=""></div>
            <div id="u15_text" class="text ">
              <p><span>发布用户孩子性别</span></p>
            </div>
          </div>
        </div>

        <!-- 详细地址 (组 合) -->
        <div id="u16" class="ax_default" data-label="详细地址" data-left="70" data-top="853" data-width="772" data-height="152">

          <!-- Unnamed (矩形) -->
          <div id="u17" class="ax_default label">
            <div id="u17_div" class=""></div>
            <div id="u17_text" class="text ">
              <p><span><?=$row["work_place"]?></span></p>
            </div>
          </div>

          <!-- Unnamed (矩形) -->
          <div id="u18" class="ax_default label">
            <div id="u18_div" class=""></div>
            <div id="u18_text" class="text ">
              <p><span>【详细地址】</span></p>
            </div>
          </div>
        </div>

        <!-- 年级 (组 合) -->
        <div id="u19" class="ax_default" data-label="年级" data-left="70" data-top="673" data-width="580" data-height="50">

          <!-- Unnamed (矩形) -->
          <div id="u20" class="ax_default label">
            <div id="u20_div" class=""></div>
            <div id="u20_text" class="text ">
              <p><span>【年级】</span></p>
            </div>
          </div>

          <!-- Unnamed (矩形) -->
          <div id="u21" class="ax_default label">
            <div id="u21_div" class=""></div>
            <div id="u21_text" class="text ">
              <p><span><?=$row["work_grade"]?></span></p>
            </div>
          </div>
        </div>

        <!-- 科目 (组 合) -->
        <div id="u22" class="ax_default" data-label="科目" data-left="70" data-top="733" data-width="544" data-height="50">

          <!-- Unnamed (矩形) -->
          <div id="u23" class="ax_default label">
            <div id="u23_div" class=""></div>
            <div id="u23_text" class="text ">
              <p><span>【科目】</span></p>
            </div>
          </div>

          <!-- Unnamed (矩形) -->
          <div id="u24" class="ax_default label">
            <div id="u24_div" class=""></div>
            <div id="u24_text" class="text ">
              <p><span><?=$row["work_subjects"]?></span></p>
            </div>
          </div>
        </div>

        <!-- 开始时间 (组 合) -->
        <div id="u25" class="ax_default" data-label="开始时间" data-left="70" data-top="1015" data-width="510" data-height="50">

          <!-- Unnamed (矩形) -->
          <div id="u26" class="ax_default label">
            <div id="u26_div" class=""></div>
            <div id="u26_text" class="text ">
              <p><span>【开始时间】</span></p>
            </div>
          </div>

          <!-- Unnamed (矩形) -->
          <div id="u27" class="ax_default label">
            <div id="u27_div" class=""></div>
            <div id="u27_text" class="text ">
              <p><span><?=$row["work_start_time"]?></span></p>
            </div>
          </div>
        </div>

        <!-- 结束时间 (组 合) -->
        <div id="u28" class="ax_default" data-label="结束时间" data-left="70" data-top="1075" data-width="510" data-height="50">

          <!-- Unnamed (矩形) -->
          <div id="u29" class="ax_default label">
            <div id="u29_div" class=""></div>
            <div id="u29_text" class="text ">
              <p><span>【结束时间】</span></p>
            </div>
          </div>

          <!-- Unnamed (矩形) -->
          <div id="u30" class="ax_default label">
            <div id="u30_div" class=""></div>
            <div id="u30_text" class="text ">
              <p><span><?=$row["work_end_time"]?></span></p>
            </div>
          </div>
        </div>

        <!-- 更多说明 (组 合) -->
        <div id="u31" class="ax_default" data-label="更多说明" data-left="70" data-top="1135" data-width="774" data-height="152">

          <!-- Unnamed (矩形) -->
          <div id="u32" class="ax_default label">
            <div id="u32_div" class=""></div>
            <div id="u32_text" class="text ">
              <p><span>【更多说明】</span></p>
            </div>
          </div>

          <!-- Unnamed (矩形) -->
          <div id="u33" class="ax_default label">
            <div id="u33_div" class=""></div>
            <div id="u33_text" class="text ">
              <p><span><?=$row["work_info"]?></span></p>
            </div>
          </div>
        </div>

        <!-- 报酬 (组 合) -->
        <div id="u34" class="ax_default" data-label="报酬" data-left="70" data-top="793" data-width="544" data-height="50">

          <!-- Unnamed (矩形) -->
          <div id="u35" class="ax_default label">
            <div id="u35_div" class=""></div>
            <div id="u35_text" class="text ">
              <p><span>【报酬】</span></p>
            </div>
          </div>

          <!-- Unnamed (矩形) -->
          <div id="u36" class="ax_default label">
            <div id="u36_div" class=""></div>
            <div id="u36_text" class="text ">
              <p><span><?=$row["work_price"]?></span></p>
            </div>
          </div>
        </div>
      </div>
      <!-- Unnamed (组 合) -->
      <div id="u37" class="ax_default" data-left="0" data-top="1952" data-width="980" data-height="170">

        <!-- 我要报名 (组 合) -->
        <div id="u38" class="ax_default" data-label="我要报名" data-left="490" data-top="1952" data-width="490" data-height="170">

          <!-- Unnamed (矩形) -->
          <div id="u39" class="ax_default box_1">
            <div id="u39_div" class=""></div>
          </div>

          <!-- Unnamed (矩形) -->
          <div id="u40" class="ax_default _一级标题">
            <div id="u40_div" class=""></div>
            <div id="u40_text" class="text ">
              <p><span>我要报名</span></p>
            </div>
          </div>
        </div>

        <!-- 咨询更多 (组 合) -->
        <div id="u41" class="ax_default" data-label="咨询更多" data-left="0" data-top="1952" data-width="490" data-height="170">

          <!-- Unnamed (矩形) -->
          <div id="u42" class="ax_default box_1">
            <div id="u42_div" class=""></div>
          </div>

          <!-- Unnamed (矩形) -->
          <div id="u43" class="ax_default _一级标题">
            <div id="u43_div" class=""></div>
            <div id="u43_text" class="text ">
              <p><span>咨询更多</span></p>
            </div>
          </div>

          <!-- Unnamed (形状) -->
          <div id="u44" class="ax_default icon">
            <img id="u44_img" class="img " src="images/index/u44.png"/>
          </div>
        </div>
      </div>

      <!-- Unnamed (水平线) -->
      <div id="u45" class="ax_default line">
        <img id="u45_img" class="img " src="images/index/u45.png"/>
      </div>
    </div>
	
<?php } ?>
  </body>
</html>
